package com.qf.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qf.pojo.DtsCategory;
import com.qf.vo.CatVo;

import java.util.List;
import java.util.Set;

/**
 * @author 邢式瑞
 * @version 1.0
 * @project E-commercebackGroundManagementSystem
 * @date 2022/9/24 9:30
 */
public interface DtsCategoryService {
    Set<CatVo> selectCategoryList();

    Page<DtsCategory> selectPage(Integer page, Integer limit, String sort, Integer id, String name, String order);

    Set<CatVo> selectParentCatVo();

    void insert(DtsCategory dtsCategory);

    void update(DtsCategory dtsCategory);

    void delete(DtsCategory dtsCategory);

    Set<Integer> selectById(Integer categoryId);

    Set<CatVo> selectCategoryAllList();
}
